package com.yunxin.core.application.command.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-06-02
 */
@Data
@Schema(description = "用户访问者对象")
public class UserVisitorInfoCommand implements Serializable {

    /**
     * 访问者id
     */
    @Schema(description = "访问者id")
    @NotBlank(message = "访问者id不能为空")
    private String visitorId;

    /**
     * 所在城市
     */
    @Schema(description = "所在城市")
    private String city;


    /**
     * 推广渠道code
     */
    @Schema(description = "推广渠道code")
    @NotBlank(message = "推广渠道code不能为空")
    private String channelPromotionCode;

}
